ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 5 - No. 12)

Which of the following data validation methods is suitable for an algorithm that validates a user's age?
Type check
Format check
Range check
Presence check

Giải thích

A type check can be employed to ensure the input is a number. A range check ensures the age falls within the acceptable bounds. Presence check verifies if the user actually entered the age.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc